home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pesquisa Dirigida
/
Pesquisa Dirigida.iso
/
JOGOS
/
mini_putt2.swf
/
scripts
/
DefineSprite_227
/
frame_2
/
DoAction.as
Wrap
Text File
|
2005-01-07
|
1KB
|
81 lines
Mouse.show();
hill = 0.075;
matw = mat._width;
math = mat._height;
mat_l = mat._x - matw / 2 + 2;
mat_r = mat._x + matw / 2 - 2;
mat_t = mat._y - math / 2 + 2;
mat_b = mat._y + math / 2 - 2;
ss = 0;
while(sdone != "y")
{
if(eval("s" add (ss + 1) add ".countme") != "y")
{
sdone = "y";
ss -= 1;
}
ss++;
}
ts = 0;
while(tdone != "y")
{
if(eval("t" add (ts + 1) add ".countme") != "y")
{
tdone = "y";
ts -= 1;
}
ts++;
}
drs = 0;
while(drdone != "y")
{
if(eval("dr" add (drs + 1) add ".countme") != "y")
{
drdone = "y";
drs -= 1;
}
drs++;
}
hrs = 0;
while(hrdone != "y")
{
if(eval("hr" add (hrs + 1) add ".countme") != "y")
{
hrdone = "y";
hrs -= 1;
}
hrs++;
}
hls = 0;
while(hldone != "y")
{
if(eval("hl" add (hls + 1) add ".countme") != "y")
{
hldone = "y";
hls -= 1;
}
hls++;
}
hus = 0;
while(hudone != "y")
{
if(eval("hu" add (hus + 1) add ".countme") != "y")
{
hudone = "y";
hus -= 1;
}
hus++;
}
hds = 0;
while(hddone != "y")
{
if(eval("hd" add (hds + 1) add ".countme") != "y")
{
hddone = "y";
hds -= 1;
}
hds++;
}
startDrag("button",1,mat_l,mat_t,mat_r,mat_b);
stop();